package com.qn.visitor.write.mysql;

import com.qn.visitor.entity.VisitorRecord;
import com.qn.visitor.mapper.VisitorRecordMapper;
import com.qn.visitor.write.VisitorWrite;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * qingniu-cloud user source analysis
 *
 * @Author: TXG
 * @Date: 2024/6/11
 * @Version V0.0.2
 */
@Service("MySqlVisitorWrite")
public class VisitorWriteImpl
        implements VisitorWrite {
    @Autowired
    VisitorRecordMapper baseMapper;
    @Override
    public void add(VisitorRecord record) {
        baseMapper.insert(record);
    }
}
